package sctu.edu.java.year2016.team01.zhuming.day20160530.Practice;

/**  nimilei
 * Created by Administrator on 2016/6/1.
 */
public class OutString {
    public static void main(String[] args) {
        final String sb="四川省 成都市 龙泉驿区 四川旅游学院";

       IstringDeal s=new IstringDeal(){

           public String get(){
               String num=sb;
              num=num.replaceAll(" ","");
                return num;
           }


        };
        System.out.println("      "+sb);
        System.out.println("    "+s.get());
    }



}
